package BehavioralPattern.Visitor.element;

import BehavioralPattern.Visitor.visitor.Visitor;
import lombok.Data;

/**
 * @Classname : CommonEmployee
 * @Description : 具体元素——普通员工
 * @Author : chentianyu
 * @Date 2023/3/12 10:29
 */

@Data
public class CommonEmployee extends Employee {

    // 工作内容
    private String job;


    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
